<template>
  <iframe :src="computedSrc" :width="computedWidth" :height="computedHeight" frameborder="0" marginheight="0" marginwidth="0" scrolling="yes"></iframe>
</template>

<script>
export default {
  name: "iframepanel",
  props: {
    url: "",
    width: "",
    height: ""
  },
  computed: {
    computedSrc() {
      return this.url;
    },
    computedWidth() {
      return this.width || '100%';
    },
    computedHeight() {
      return '100%';
    }
  }
}
</script>
